package com.longcai.cm.api.response;

import com.longcai.cm.domain.FaMember;
import com.longcai.cm.domain.vm.MemberVipViewModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author libingxing
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MemberInfo extends FaMember {

    @ApiModelProperty("二期积分-积分")
    private BigDecimal integral;

    @ApiModelProperty("上级推广人名称")
    private String parentName;

    @ApiModelProperty("VIP详情")
    private MemberVipViewModel memberVipViewModel;

    @ApiModelProperty("订单数量未支付")
    private Long orderCountUnPay = 0L;

    @ApiModelProperty("订单数量未使用")
    private Long orderCountUnUse = 0L;

    @ApiModelProperty("订单数量待评价")
    private Long orderCountUnComment = 0L;

    @ApiModelProperty("订单数量退款")
    private Long orderCountRefund = 0L;

    @ApiModelProperty("客服电话")
    private String servicePhone;

}
